//
//  SharingTableViewCell.m
//  PerfectWorld
//
//  Created by dllo on 16/9/19.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "SharingTableViewCell.h"
#import "SharingPhotosModel.h"
#import "UIImageView+WebCache.h"
@implementation SharingTableViewCell

- (void)setPhotos:(SharingPhotosModel *)photos {
    _photos = photos;
    NSNumber *num = photos.Shari_id;
    NSString *str = [num description];
    NSString *str2 = [str substringToIndex:3];
    [_imageMain sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://image.gooju.cn/images/%@/9/%@_0_9-.jpg", str2, str]] placeholderImage:nil];
    _labelDown.text = photos.title;
}



- (void)awakeFromNib {
    [super awakeFromNib];
    [self layoutIfNeeded];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
